<template>
  <view>
    <view class="chat_header df jc-sb">
      <text></text>
      <text>1000条评论 </text>
      <text @click="close_popus"><uni-icons type="closeempty" size="16"></uni-icons></text>
    </view>

    <view class="chat_content">
        
    </view>
  </view>
</template>

<script setup lang="ts">
import { ref } from "vue";
// 传递事件
const emit = defineEmits<{
  (e: "close_popus"): void;
}>();

// 关闭弹框
const close_popus = () => {
  emit("close_popus");
};
</script>

<style scoped lang="scss">
.chat_header {
  padding: 10rpx;
  box-sizing: border-box;
}
</style>